<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ include file="/page/core/common/commonvariable.jsp"%>
<div id="edit-data-warp">
<form class="form-horizontal" role="form" method="post">
	<div class="col-sm-12">
		<div class="form-group  col-sm-6 ">
			<div class="col-xs-26">
		   		<label class="control-label"><spring:message code="param name"></spring:message> <span style="color: red;">*</span></label>
	   		</div>
	   		<div class="col-xs-74" >
				<input type="text" id="parametername" onblur="commonutil.trim(this);" class="form-control b-validate" ng-model="sysParameterForm.parametername" validate-feature="require" validate-maxCharLength="50"/>
			</div>
		</div>
		<div class="form-group  col-sm-6 ">
			<div class="col-xs-26">
	   			<label class="control-label"><spring:message code="param value"></spring:message> <span style="color: red;">*</span></label>
	   		</div>
	   		<div class="col-xs-74" >
				<input type="text" onblur="commonutil.trim(this);"  class="form-control b-validate" ng-model="sysParameterForm.parametervalue" validate-feature="require" validate-maxCharLength="255"/>
			</div>
		</div>
		
	</div>
	
	
	<div class="col-sm-12" ><!-- ng-if="rightPart=='add'" -->
		
		<div class="form-group  col-sm-6 ">
			<div class="col-xs-26">
		   		<label class="control-label"><spring:message code="param category"></spring:message> <span style="color: red;">*</span></label>
	   		</div>
	   		<div class="col-xs-74" >
				<input type="text"  id=""  onblur="commonutil.trim(this);"  class="form-control b-validate" ng-model="sysParameterForm.parametercategory" validate-feature="require" validate-maxCharLength="50"/>
			</div>
		</div>
		<div class="form-group  col-sm-6 ">
			<div class="col-xs-26">
	   			<label class="control-label"><spring:message code="enabled"></spring:message> <span style="color: red;">*</span></label>
	   		</div>
	   		<div class="col-xs-74" >
				<input  type="checkbox"  ng-true-value="1"  ng-false-value="0" width="20" ng-checked="sysParameterForm.markstatus" id="markstatus" name="markstatus" class="form-control"  ng-model="sysParameterForm.markstatus" />	
			
			</div>
		</div>
	</div>
	
	<div class="col-sm-12">
		<div class="form-group  col-sm-6 ">
				<div class="col-xs-26">
		   			<label class="control-label"><spring:message code="note one"></spring:message> </label>
		   		</div>
		   		<div class="col-xs-74" >
					<input type="text" onblur="commonutil.trim(this);" class="form-control b-validate" ng-model="sysParameterForm.note1" validate-maxCharLength="50"/>
				</div>
		</div>		
		<div class="form-group  col-sm-6 ">
				<div class="col-xs-26">
		   			<label class="control-label"><spring:message code="note two"></spring:message> </label>
		   		</div>
		   		<div class="col-xs-74" >
					<input type="text" onblur="commonutil.trim(this);" class="form-control b-validate" ng-model="sysParameterForm.note2"  validate-maxCharLength="50"/>
				</div>
		</div>
	</div>
	<div class="col-sm-12">
		<div class="form-group  col-sm-6 ">
			<div class="col-xs-26">
	   			<label class="control-label"><spring:message code="note three"></spring:message> </label>
	   		</div>
	   		<div class="col-xs-74" >
				<input type="text" onblur="commonutil.trim(this);" class="form-control b-validate" ng-model="sysParameterForm.note3" validate-maxCharLength="50"/>
			</div>
			
		</div>
		
	</div>
		

	
	
	<div class="col-sm-12" style="margin-top: 20px" >
		<div class="col-sm-6">
			<input  type="button"  ng-click="doCancel();"  class="btn btn-primary btn-block" value="取&nbsp;&nbsp;消"/>
		</div>
		<div class="col-sm-6">
			<input  type="button"  ng-click="doAdd();"  class="btn btn-primary btn-block" value="保&nbsp;&nbsp;存"/>
		</div>
	</div>
</form>
</div>
